package com.teamall.web.fpgz.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class CodeFamilyInfoArg {
    private String pk_name = "vid";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<CodeFamilyInfoCriteria> oredCriteria;

    public CodeFamilyInfoArg() {
        oredCriteria = new ArrayList<CodeFamilyInfoCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<CodeFamilyInfoCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(CodeFamilyInfoCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public CodeFamilyInfoCriteria or() {
    	CodeFamilyInfoCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public CodeFamilyInfoCriteria createCriteria() {
    	CodeFamilyInfoCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected CodeFamilyInfoCriteria createCriteriaInternal() {
    	CodeFamilyInfoCriteria criteria = new CodeFamilyInfoCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<CodeFamilyInfoCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<CodeFamilyInfoCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<CodeFamilyInfoCriterion> getAllCriteria() {
            return criteria;
        }

        public List<CodeFamilyInfoCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new CodeFamilyInfoCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeFamilyInfoCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeFamilyInfoCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeFamilyInfoCriterion(condition, value1, value2));
        }

        public CodeFamilyInfoCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andVidIsNull() {
            addCriterion("vid is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidIsNotNull() {
            addCriterion("vid is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidEqualTo(String value) {
            addCriterion("vid =", value, "vid");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidNotEqualTo(String value) {
            addCriterion("vid <>", value, "vid");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidGreaterThan(String value) {
            addCriterion("vid >", value, "vid");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidGreaterThanOrEqualTo(String value) {
            addCriterion("vid >=", value, "vid");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidLessThan(String value) {
            addCriterion("vid <", value, "vid");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidLessThanOrEqualTo(String value) {
            addCriterion("vid <=", value, "vid");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidLike(String value) {
            addCriterion("vid like ", value, "vid", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidNotLike(String value) {
            addCriterion("vid  not like ", value, "vid", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidLeftLike(String value) {
            addCriterion("vid like ", value, "vid", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidNotLeftLike(String value) {
            addCriterion("vid  not like ", value, "vid", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidRightLike(String value) {
            addCriterion("vid like ", value, "vid", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidNotRightLike(String value) {
            addCriterion("vid  not like ", value, "vid", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidIn(List<String> values) {
            addCriterion("vid  in ", values, "vid");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidNotIn(List<String> values) {
            addCriterion("vid not in ", values, "vid");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidBetween(String value1, String value2) {
            addCriterion("vid between ", value1, value2, "vid");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVidNotBetween(String value1, String value2) {
            addCriterion("vid not between ", value1, value2, "vid");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andTownIdIsNull() {
            addCriterion("town_id is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdIsNotNull() {
            addCriterion("town_id is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdEqualTo(Integer value) {
            addCriterion("town_id =", value, "town_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdNotEqualTo(Integer value) {
            addCriterion("town_id <>", value, "town_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdGreaterThan(Integer value) {
            addCriterion("town_id >", value, "town_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("town_id >=", value, "town_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdLessThan(Integer value) {
            addCriterion("town_id <", value, "town_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdLessThanOrEqualTo(Integer value) {
            addCriterion("town_id <=", value, "town_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdLike(Integer value) {
            addCriterion("town_id like ", value, "town_id", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdNotLike(Integer value) {
            addCriterion("town_id  not like ", value, "town_id", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdLeftLike(Integer value) {
            addCriterion("town_id like ", value, "town_id", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdNotLeftLike(Integer value) {
            addCriterion("town_id  not like ", value, "town_id", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdRightLike(Integer value) {
            addCriterion("town_id like ", value, "town_id", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdNotRightLike(Integer value) {
            addCriterion("town_id  not like ", value, "town_id", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdIn(List<Integer> values) {
            addCriterion("town_id  in ", values, "town_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdNotIn(List<Integer> values) {
            addCriterion("town_id not in ", values, "town_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdBetween(Integer value1, Integer value2) {
            addCriterion("town_id between ", value1, value2, "town_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownIdNotBetween(Integer value1, Integer value2) {
            addCriterion("town_id not between ", value1, value2, "town_id");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andTownNameIsNull() {
            addCriterion("town_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameIsNotNull() {
            addCriterion("town_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameEqualTo(String value) {
            addCriterion("town_name =", value, "town_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameNotEqualTo(String value) {
            addCriterion("town_name <>", value, "town_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameGreaterThan(String value) {
            addCriterion("town_name >", value, "town_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameGreaterThanOrEqualTo(String value) {
            addCriterion("town_name >=", value, "town_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameLessThan(String value) {
            addCriterion("town_name <", value, "town_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameLessThanOrEqualTo(String value) {
            addCriterion("town_name <=", value, "town_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameLike(String value) {
            addCriterion("town_name like ", value, "town_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameNotLike(String value) {
            addCriterion("town_name  not like ", value, "town_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameLeftLike(String value) {
            addCriterion("town_name like ", value, "town_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameNotLeftLike(String value) {
            addCriterion("town_name  not like ", value, "town_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameRightLike(String value) {
            addCriterion("town_name like ", value, "town_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameNotRightLike(String value) {
            addCriterion("town_name  not like ", value, "town_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameIn(List<String> values) {
            addCriterion("town_name  in ", values, "town_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameNotIn(List<String> values) {
            addCriterion("town_name not in ", values, "town_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameBetween(String value1, String value2) {
            addCriterion("town_name between ", value1, value2, "town_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTownNameNotBetween(String value1, String value2) {
            addCriterion("town_name not between ", value1, value2, "town_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andVillageIdIsNull() {
            addCriterion("village_id is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdIsNotNull() {
            addCriterion("village_id is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdEqualTo(Integer value) {
            addCriterion("village_id =", value, "village_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdNotEqualTo(Integer value) {
            addCriterion("village_id <>", value, "village_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdGreaterThan(Integer value) {
            addCriterion("village_id >", value, "village_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("village_id >=", value, "village_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdLessThan(Integer value) {
            addCriterion("village_id <", value, "village_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdLessThanOrEqualTo(Integer value) {
            addCriterion("village_id <=", value, "village_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdNotLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdLeftLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdNotLeftLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdRightLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdNotRightLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdIn(List<Integer> values) {
            addCriterion("village_id  in ", values, "village_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdNotIn(List<Integer> values) {
            addCriterion("village_id not in ", values, "village_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdBetween(Integer value1, Integer value2) {
            addCriterion("village_id between ", value1, value2, "village_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageIdNotBetween(Integer value1, Integer value2) {
            addCriterion("village_id not between ", value1, value2, "village_id");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andVillageCodeIsNull() {
            addCriterion("village_code is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeIsNotNull() {
            addCriterion("village_code is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeEqualTo(String value) {
            addCriterion("village_code =", value, "village_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeNotEqualTo(String value) {
            addCriterion("village_code <>", value, "village_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeGreaterThan(String value) {
            addCriterion("village_code >", value, "village_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeGreaterThanOrEqualTo(String value) {
            addCriterion("village_code >=", value, "village_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeLessThan(String value) {
            addCriterion("village_code <", value, "village_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeLessThanOrEqualTo(String value) {
            addCriterion("village_code <=", value, "village_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeLike(String value) {
            addCriterion("village_code like ", value, "village_code", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeNotLike(String value) {
            addCriterion("village_code  not like ", value, "village_code", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeLeftLike(String value) {
            addCriterion("village_code like ", value, "village_code", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeNotLeftLike(String value) {
            addCriterion("village_code  not like ", value, "village_code", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeRightLike(String value) {
            addCriterion("village_code like ", value, "village_code", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeNotRightLike(String value) {
            addCriterion("village_code  not like ", value, "village_code", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeIn(List<String> values) {
            addCriterion("village_code  in ", values, "village_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeNotIn(List<String> values) {
            addCriterion("village_code not in ", values, "village_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeBetween(String value1, String value2) {
            addCriterion("village_code between ", value1, value2, "village_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageCodeNotBetween(String value1, String value2) {
            addCriterion("village_code not between ", value1, value2, "village_code");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andVillageNameIsNull() {
            addCriterion("village_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameIsNotNull() {
            addCriterion("village_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameEqualTo(String value) {
            addCriterion("village_name =", value, "village_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameNotEqualTo(String value) {
            addCriterion("village_name <>", value, "village_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameGreaterThan(String value) {
            addCriterion("village_name >", value, "village_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameGreaterThanOrEqualTo(String value) {
            addCriterion("village_name >=", value, "village_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameLessThan(String value) {
            addCriterion("village_name <", value, "village_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameLessThanOrEqualTo(String value) {
            addCriterion("village_name <=", value, "village_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameLike(String value) {
            addCriterion("village_name like ", value, "village_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameNotLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameLeftLike(String value) {
            addCriterion("village_name like ", value, "village_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameNotLeftLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameRightLike(String value) {
            addCriterion("village_name like ", value, "village_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameNotRightLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameIn(List<String> values) {
            addCriterion("village_name  in ", values, "village_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameNotIn(List<String> values) {
            addCriterion("village_name not in ", values, "village_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameBetween(String value1, String value2) {
            addCriterion("village_name between ", value1, value2, "village_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVillageNameNotBetween(String value1, String value2) {
            addCriterion("village_name not between ", value1, value2, "village_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andFamilyIdIsNull() {
            addCriterion("family_id is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdIsNotNull() {
            addCriterion("family_id is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdEqualTo(Integer value) {
            addCriterion("family_id =", value, "family_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdNotEqualTo(Integer value) {
            addCriterion("family_id <>", value, "family_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdGreaterThan(Integer value) {
            addCriterion("family_id >", value, "family_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("family_id >=", value, "family_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdLessThan(Integer value) {
            addCriterion("family_id <", value, "family_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdLessThanOrEqualTo(Integer value) {
            addCriterion("family_id <=", value, "family_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdLike(Integer value) {
            addCriterion("family_id like ", value, "family_id", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdNotLike(Integer value) {
            addCriterion("family_id  not like ", value, "family_id", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdLeftLike(Integer value) {
            addCriterion("family_id like ", value, "family_id", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdNotLeftLike(Integer value) {
            addCriterion("family_id  not like ", value, "family_id", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdRightLike(Integer value) {
            addCriterion("family_id like ", value, "family_id", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdNotRightLike(Integer value) {
            addCriterion("family_id  not like ", value, "family_id", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdIn(List<Integer> values) {
            addCriterion("family_id  in ", values, "family_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdNotIn(List<Integer> values) {
            addCriterion("family_id not in ", values, "family_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdBetween(Integer value1, Integer value2) {
            addCriterion("family_id between ", value1, value2, "family_id");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("family_id not between ", value1, value2, "family_id");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andFamilyCodeIsNull() {
            addCriterion("family_code is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeIsNotNull() {
            addCriterion("family_code is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeEqualTo(String value) {
            addCriterion("family_code =", value, "family_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeNotEqualTo(String value) {
            addCriterion("family_code <>", value, "family_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeGreaterThan(String value) {
            addCriterion("family_code >", value, "family_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeGreaterThanOrEqualTo(String value) {
            addCriterion("family_code >=", value, "family_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeLessThan(String value) {
            addCriterion("family_code <", value, "family_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeLessThanOrEqualTo(String value) {
            addCriterion("family_code <=", value, "family_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeLike(String value) {
            addCriterion("family_code like ", value, "family_code", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeNotLike(String value) {
            addCriterion("family_code  not like ", value, "family_code", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeLeftLike(String value) {
            addCriterion("family_code like ", value, "family_code", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeNotLeftLike(String value) {
            addCriterion("family_code  not like ", value, "family_code", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeRightLike(String value) {
            addCriterion("family_code like ", value, "family_code", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeNotRightLike(String value) {
            addCriterion("family_code  not like ", value, "family_code", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeIn(List<String> values) {
            addCriterion("family_code  in ", values, "family_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeNotIn(List<String> values) {
            addCriterion("family_code not in ", values, "family_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeBetween(String value1, String value2) {
            addCriterion("family_code between ", value1, value2, "family_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyCodeNotBetween(String value1, String value2) {
            addCriterion("family_code not between ", value1, value2, "family_code");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andPovertyAttrIsNull() {
            addCriterion("poverty_attr is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrIsNotNull() {
            addCriterion("poverty_attr is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrEqualTo(Integer value) {
            addCriterion("poverty_attr =", value, "poverty_attr");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNotEqualTo(Integer value) {
            addCriterion("poverty_attr <>", value, "poverty_attr");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrGreaterThan(Integer value) {
            addCriterion("poverty_attr >", value, "poverty_attr");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrGreaterThanOrEqualTo(Integer value) {
            addCriterion("poverty_attr >=", value, "poverty_attr");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrLessThan(Integer value) {
            addCriterion("poverty_attr <", value, "poverty_attr");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrLessThanOrEqualTo(Integer value) {
            addCriterion("poverty_attr <=", value, "poverty_attr");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrLike(Integer value) {
            addCriterion("poverty_attr like ", value, "poverty_attr", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNotLike(Integer value) {
            addCriterion("poverty_attr  not like ", value, "poverty_attr", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrLeftLike(Integer value) {
            addCriterion("poverty_attr like ", value, "poverty_attr", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNotLeftLike(Integer value) {
            addCriterion("poverty_attr  not like ", value, "poverty_attr", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrRightLike(Integer value) {
            addCriterion("poverty_attr like ", value, "poverty_attr", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNotRightLike(Integer value) {
            addCriterion("poverty_attr  not like ", value, "poverty_attr", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrIn(List<Integer> values) {
            addCriterion("poverty_attr  in ", values, "poverty_attr");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNotIn(List<Integer> values) {
            addCriterion("poverty_attr not in ", values, "poverty_attr");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrBetween(Integer value1, Integer value2) {
            addCriterion("poverty_attr between ", value1, value2, "poverty_attr");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNotBetween(Integer value1, Integer value2) {
            addCriterion("poverty_attr not between ", value1, value2, "poverty_attr");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andPovertyAttrNameIsNull() {
            addCriterion("poverty_attr_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameIsNotNull() {
            addCriterion("poverty_attr_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameEqualTo(String value) {
            addCriterion("poverty_attr_name =", value, "poverty_attr_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameNotEqualTo(String value) {
            addCriterion("poverty_attr_name <>", value, "poverty_attr_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameGreaterThan(String value) {
            addCriterion("poverty_attr_name >", value, "poverty_attr_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameGreaterThanOrEqualTo(String value) {
            addCriterion("poverty_attr_name >=", value, "poverty_attr_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameLessThan(String value) {
            addCriterion("poverty_attr_name <", value, "poverty_attr_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameLessThanOrEqualTo(String value) {
            addCriterion("poverty_attr_name <=", value, "poverty_attr_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameLike(String value) {
            addCriterion("poverty_attr_name like ", value, "poverty_attr_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameNotLike(String value) {
            addCriterion("poverty_attr_name  not like ", value, "poverty_attr_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameLeftLike(String value) {
            addCriterion("poverty_attr_name like ", value, "poverty_attr_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameNotLeftLike(String value) {
            addCriterion("poverty_attr_name  not like ", value, "poverty_attr_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameRightLike(String value) {
            addCriterion("poverty_attr_name like ", value, "poverty_attr_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameNotRightLike(String value) {
            addCriterion("poverty_attr_name  not like ", value, "poverty_attr_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameIn(List<String> values) {
            addCriterion("poverty_attr_name  in ", values, "poverty_attr_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameNotIn(List<String> values) {
            addCriterion("poverty_attr_name not in ", values, "poverty_attr_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameBetween(String value1, String value2) {
            addCriterion("poverty_attr_name between ", value1, value2, "poverty_attr_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyAttrNameNotBetween(String value1, String value2) {
            addCriterion("poverty_attr_name not between ", value1, value2, "poverty_attr_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andFamilyMemeberIdIsNull() {
            addCriterion("FAMILY_MEMEBER_ID is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdIsNotNull() {
            addCriterion("FAMILY_MEMEBER_ID is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdEqualTo(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID =", value, "FAMILY_MEMEBER_ID");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdNotEqualTo(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID <>", value, "FAMILY_MEMEBER_ID");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdGreaterThan(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID >", value, "FAMILY_MEMEBER_ID");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID >=", value, "FAMILY_MEMEBER_ID");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdLessThan(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID <", value, "FAMILY_MEMEBER_ID");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdLessThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID <=", value, "FAMILY_MEMEBER_ID");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID like ", value, "FAMILY_MEMEBER_ID", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdNotLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID  not like ", value, "FAMILY_MEMEBER_ID", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdLeftLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID like ", value, "FAMILY_MEMEBER_ID", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdNotLeftLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID  not like ", value, "FAMILY_MEMEBER_ID", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdRightLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID like ", value, "FAMILY_MEMEBER_ID", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdNotRightLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID  not like ", value, "FAMILY_MEMEBER_ID", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdIn(List<Integer> values) {
            addCriterion("FAMILY_MEMEBER_ID  in ", values, "FAMILY_MEMEBER_ID");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdNotIn(List<Integer> values) {
            addCriterion("FAMILY_MEMEBER_ID not in ", values, "FAMILY_MEMEBER_ID");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_MEMEBER_ID between ", value1, value2, "FAMILY_MEMEBER_ID");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andFamilyMemeberIdNotBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_MEMEBER_ID not between ", value1, value2, "FAMILY_MEMEBER_ID");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andPersonCodeIsNull() {
            addCriterion("person_code is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeIsNotNull() {
            addCriterion("person_code is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeEqualTo(String value) {
            addCriterion("person_code =", value, "person_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeNotEqualTo(String value) {
            addCriterion("person_code <>", value, "person_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeGreaterThan(String value) {
            addCriterion("person_code >", value, "person_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeGreaterThanOrEqualTo(String value) {
            addCriterion("person_code >=", value, "person_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeLessThan(String value) {
            addCriterion("person_code <", value, "person_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeLessThanOrEqualTo(String value) {
            addCriterion("person_code <=", value, "person_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeLike(String value) {
            addCriterion("person_code like ", value, "person_code", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeNotLike(String value) {
            addCriterion("person_code  not like ", value, "person_code", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeLeftLike(String value) {
            addCriterion("person_code like ", value, "person_code", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeNotLeftLike(String value) {
            addCriterion("person_code  not like ", value, "person_code", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeRightLike(String value) {
            addCriterion("person_code like ", value, "person_code", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeNotRightLike(String value) {
            addCriterion("person_code  not like ", value, "person_code", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeIn(List<String> values) {
            addCriterion("person_code  in ", values, "person_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeNotIn(List<String> values) {
            addCriterion("person_code not in ", values, "person_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeBetween(String value1, String value2) {
            addCriterion("person_code between ", value1, value2, "person_code");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonCodeNotBetween(String value1, String value2) {
            addCriterion("person_code not between ", value1, value2, "person_code");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andPersonNameIsNull() {
            addCriterion("person_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameIsNotNull() {
            addCriterion("person_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameEqualTo(String value) {
            addCriterion("person_name =", value, "person_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameNotEqualTo(String value) {
            addCriterion("person_name <>", value, "person_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameGreaterThan(String value) {
            addCriterion("person_name >", value, "person_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameGreaterThanOrEqualTo(String value) {
            addCriterion("person_name >=", value, "person_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameLessThan(String value) {
            addCriterion("person_name <", value, "person_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameLessThanOrEqualTo(String value) {
            addCriterion("person_name <=", value, "person_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameLike(String value) {
            addCriterion("person_name like ", value, "person_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameNotLike(String value) {
            addCriterion("person_name  not like ", value, "person_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameLeftLike(String value) {
            addCriterion("person_name like ", value, "person_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameNotLeftLike(String value) {
            addCriterion("person_name  not like ", value, "person_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameRightLike(String value) {
            addCriterion("person_name like ", value, "person_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameNotRightLike(String value) {
            addCriterion("person_name  not like ", value, "person_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameIn(List<String> values) {
            addCriterion("person_name  in ", values, "person_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameNotIn(List<String> values) {
            addCriterion("person_name not in ", values, "person_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameBetween(String value1, String value2) {
            addCriterion("person_name between ", value1, value2, "person_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonNameNotBetween(String value1, String value2) {
            addCriterion("person_name not between ", value1, value2, "person_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andMasterRelIsNull() {
            addCriterion("MASTER_REL is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelIsNotNull() {
            addCriterion("MASTER_REL is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelEqualTo(Integer value) {
            addCriterion("MASTER_REL =", value, "MASTER_REL");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelNotEqualTo(Integer value) {
            addCriterion("MASTER_REL <>", value, "MASTER_REL");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelGreaterThan(Integer value) {
            addCriterion("MASTER_REL >", value, "MASTER_REL");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelGreaterThanOrEqualTo(Integer value) {
            addCriterion("MASTER_REL >=", value, "MASTER_REL");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelLessThan(Integer value) {
            addCriterion("MASTER_REL <", value, "MASTER_REL");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelLessThanOrEqualTo(Integer value) {
            addCriterion("MASTER_REL <=", value, "MASTER_REL");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelLike(Integer value) {
            addCriterion("MASTER_REL like ", value, "MASTER_REL", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelNotLike(Integer value) {
            addCriterion("MASTER_REL  not like ", value, "MASTER_REL", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelLeftLike(Integer value) {
            addCriterion("MASTER_REL like ", value, "MASTER_REL", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelNotLeftLike(Integer value) {
            addCriterion("MASTER_REL  not like ", value, "MASTER_REL", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelRightLike(Integer value) {
            addCriterion("MASTER_REL like ", value, "MASTER_REL", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelNotRightLike(Integer value) {
            addCriterion("MASTER_REL  not like ", value, "MASTER_REL", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelIn(List<Integer> values) {
            addCriterion("MASTER_REL  in ", values, "MASTER_REL");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelNotIn(List<Integer> values) {
            addCriterion("MASTER_REL not in ", values, "MASTER_REL");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelBetween(Integer value1, Integer value2) {
            addCriterion("MASTER_REL between ", value1, value2, "MASTER_REL");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMasterRelNotBetween(Integer value1, Integer value2) {
            addCriterion("MASTER_REL not between ", value1, value2, "MASTER_REL");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andPersonTelIsNull() {
            addCriterion("person_tel is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelIsNotNull() {
            addCriterion("person_tel is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelEqualTo(String value) {
            addCriterion("person_tel =", value, "person_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelNotEqualTo(String value) {
            addCriterion("person_tel <>", value, "person_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelGreaterThan(String value) {
            addCriterion("person_tel >", value, "person_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelGreaterThanOrEqualTo(String value) {
            addCriterion("person_tel >=", value, "person_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelLessThan(String value) {
            addCriterion("person_tel <", value, "person_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelLessThanOrEqualTo(String value) {
            addCriterion("person_tel <=", value, "person_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelLike(String value) {
            addCriterion("person_tel like ", value, "person_tel", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelNotLike(String value) {
            addCriterion("person_tel  not like ", value, "person_tel", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelLeftLike(String value) {
            addCriterion("person_tel like ", value, "person_tel", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelNotLeftLike(String value) {
            addCriterion("person_tel  not like ", value, "person_tel", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelRightLike(String value) {
            addCriterion("person_tel like ", value, "person_tel", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelNotRightLike(String value) {
            addCriterion("person_tel  not like ", value, "person_tel", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelIn(List<String> values) {
            addCriterion("person_tel  in ", values, "person_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelNotIn(List<String> values) {
            addCriterion("person_tel not in ", values, "person_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelBetween(String value1, String value2) {
            addCriterion("person_tel between ", value1, value2, "person_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonTelNotBetween(String value1, String value2) {
            addCriterion("person_tel not between ", value1, value2, "person_tel");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andIdNumberIsNull() {
            addCriterion("id_number is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberIsNotNull() {
            addCriterion("id_number is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberEqualTo(String value) {
            addCriterion("id_number =", value, "id_number");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberNotEqualTo(String value) {
            addCriterion("id_number <>", value, "id_number");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberGreaterThan(String value) {
            addCriterion("id_number >", value, "id_number");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberGreaterThanOrEqualTo(String value) {
            addCriterion("id_number >=", value, "id_number");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberLessThan(String value) {
            addCriterion("id_number <", value, "id_number");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberLessThanOrEqualTo(String value) {
            addCriterion("id_number <=", value, "id_number");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberLike(String value) {
            addCriterion("id_number like ", value, "id_number", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberNotLike(String value) {
            addCriterion("id_number  not like ", value, "id_number", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberLeftLike(String value) {
            addCriterion("id_number like ", value, "id_number", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberNotLeftLike(String value) {
            addCriterion("id_number  not like ", value, "id_number", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberRightLike(String value) {
            addCriterion("id_number like ", value, "id_number", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberNotRightLike(String value) {
            addCriterion("id_number  not like ", value, "id_number", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberIn(List<String> values) {
            addCriterion("id_number  in ", values, "id_number");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberNotIn(List<String> values) {
            addCriterion("id_number not in ", values, "id_number");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberBetween(String value1, String value2) {
            addCriterion("id_number between ", value1, value2, "id_number");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdNumberNotBetween(String value1, String value2) {
            addCriterion("id_number not between ", value1, value2, "id_number");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andPersonPhotoIsNull() {
            addCriterion("person_photo is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoIsNotNull() {
            addCriterion("person_photo is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoEqualTo(String value) {
            addCriterion("person_photo =", value, "person_photo");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoNotEqualTo(String value) {
            addCriterion("person_photo <>", value, "person_photo");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoGreaterThan(String value) {
            addCriterion("person_photo >", value, "person_photo");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoGreaterThanOrEqualTo(String value) {
            addCriterion("person_photo >=", value, "person_photo");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoLessThan(String value) {
            addCriterion("person_photo <", value, "person_photo");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoLessThanOrEqualTo(String value) {
            addCriterion("person_photo <=", value, "person_photo");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoLike(String value) {
            addCriterion("person_photo like ", value, "person_photo", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoNotLike(String value) {
            addCriterion("person_photo  not like ", value, "person_photo", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoLeftLike(String value) {
            addCriterion("person_photo like ", value, "person_photo", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoNotLeftLike(String value) {
            addCriterion("person_photo  not like ", value, "person_photo", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoRightLike(String value) {
            addCriterion("person_photo like ", value, "person_photo", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoNotRightLike(String value) {
            addCriterion("person_photo  not like ", value, "person_photo", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoIn(List<String> values) {
            addCriterion("person_photo  in ", values, "person_photo");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoNotIn(List<String> values) {
            addCriterion("person_photo not in ", values, "person_photo");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoBetween(String value1, String value2) {
            addCriterion("person_photo between ", value1, value2, "person_photo");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPersonPhotoNotBetween(String value1, String value2) {
            addCriterion("person_photo not between ", value1, value2, "person_photo");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andIsFoodClothingIsNull() {
            addCriterion("is_food_clothing is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingIsNotNull() {
            addCriterion("is_food_clothing is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingEqualTo(Integer value) {
            addCriterion("is_food_clothing =", value, "is_food_clothing");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNotEqualTo(Integer value) {
            addCriterion("is_food_clothing <>", value, "is_food_clothing");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingGreaterThan(Integer value) {
            addCriterion("is_food_clothing >", value, "is_food_clothing");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_food_clothing >=", value, "is_food_clothing");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingLessThan(Integer value) {
            addCriterion("is_food_clothing <", value, "is_food_clothing");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingLessThanOrEqualTo(Integer value) {
            addCriterion("is_food_clothing <=", value, "is_food_clothing");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingLike(Integer value) {
            addCriterion("is_food_clothing like ", value, "is_food_clothing", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNotLike(Integer value) {
            addCriterion("is_food_clothing  not like ", value, "is_food_clothing", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingLeftLike(Integer value) {
            addCriterion("is_food_clothing like ", value, "is_food_clothing", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNotLeftLike(Integer value) {
            addCriterion("is_food_clothing  not like ", value, "is_food_clothing", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingRightLike(Integer value) {
            addCriterion("is_food_clothing like ", value, "is_food_clothing", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNotRightLike(Integer value) {
            addCriterion("is_food_clothing  not like ", value, "is_food_clothing", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingIn(List<Integer> values) {
            addCriterion("is_food_clothing  in ", values, "is_food_clothing");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNotIn(List<Integer> values) {
            addCriterion("is_food_clothing not in ", values, "is_food_clothing");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingBetween(Integer value1, Integer value2) {
            addCriterion("is_food_clothing between ", value1, value2, "is_food_clothing");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNotBetween(Integer value1, Integer value2) {
            addCriterion("is_food_clothing not between ", value1, value2, "is_food_clothing");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andIsFoodClothingNameIsNull() {
            addCriterion("is_food_clothing_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameIsNotNull() {
            addCriterion("is_food_clothing_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameEqualTo(String value) {
            addCriterion("is_food_clothing_name =", value, "is_food_clothing_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameNotEqualTo(String value) {
            addCriterion("is_food_clothing_name <>", value, "is_food_clothing_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameGreaterThan(String value) {
            addCriterion("is_food_clothing_name >", value, "is_food_clothing_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameGreaterThanOrEqualTo(String value) {
            addCriterion("is_food_clothing_name >=", value, "is_food_clothing_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameLessThan(String value) {
            addCriterion("is_food_clothing_name <", value, "is_food_clothing_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameLessThanOrEqualTo(String value) {
            addCriterion("is_food_clothing_name <=", value, "is_food_clothing_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameLike(String value) {
            addCriterion("is_food_clothing_name like ", value, "is_food_clothing_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameNotLike(String value) {
            addCriterion("is_food_clothing_name  not like ", value, "is_food_clothing_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameLeftLike(String value) {
            addCriterion("is_food_clothing_name like ", value, "is_food_clothing_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameNotLeftLike(String value) {
            addCriterion("is_food_clothing_name  not like ", value, "is_food_clothing_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameRightLike(String value) {
            addCriterion("is_food_clothing_name like ", value, "is_food_clothing_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameNotRightLike(String value) {
            addCriterion("is_food_clothing_name  not like ", value, "is_food_clothing_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameIn(List<String> values) {
            addCriterion("is_food_clothing_name  in ", values, "is_food_clothing_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameNotIn(List<String> values) {
            addCriterion("is_food_clothing_name not in ", values, "is_food_clothing_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameBetween(String value1, String value2) {
            addCriterion("is_food_clothing_name between ", value1, value2, "is_food_clothing_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsFoodClothingNameNotBetween(String value1, String value2) {
            addCriterion("is_food_clothing_name not between ", value1, value2, "is_food_clothing_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andIsDropOutIsNull() {
            addCriterion("is_drop_out is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutIsNotNull() {
            addCriterion("is_drop_out is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutEqualTo(Integer value) {
            addCriterion("is_drop_out =", value, "is_drop_out");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNotEqualTo(Integer value) {
            addCriterion("is_drop_out <>", value, "is_drop_out");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutGreaterThan(Integer value) {
            addCriterion("is_drop_out >", value, "is_drop_out");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_drop_out >=", value, "is_drop_out");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutLessThan(Integer value) {
            addCriterion("is_drop_out <", value, "is_drop_out");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutLessThanOrEqualTo(Integer value) {
            addCriterion("is_drop_out <=", value, "is_drop_out");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutLike(Integer value) {
            addCriterion("is_drop_out like ", value, "is_drop_out", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNotLike(Integer value) {
            addCriterion("is_drop_out  not like ", value, "is_drop_out", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutLeftLike(Integer value) {
            addCriterion("is_drop_out like ", value, "is_drop_out", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNotLeftLike(Integer value) {
            addCriterion("is_drop_out  not like ", value, "is_drop_out", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutRightLike(Integer value) {
            addCriterion("is_drop_out like ", value, "is_drop_out", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNotRightLike(Integer value) {
            addCriterion("is_drop_out  not like ", value, "is_drop_out", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutIn(List<Integer> values) {
            addCriterion("is_drop_out  in ", values, "is_drop_out");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNotIn(List<Integer> values) {
            addCriterion("is_drop_out not in ", values, "is_drop_out");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutBetween(Integer value1, Integer value2) {
            addCriterion("is_drop_out between ", value1, value2, "is_drop_out");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNotBetween(Integer value1, Integer value2) {
            addCriterion("is_drop_out not between ", value1, value2, "is_drop_out");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andIsDropOutNameIsNull() {
            addCriterion("is_drop_out_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameIsNotNull() {
            addCriterion("is_drop_out_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameEqualTo(String value) {
            addCriterion("is_drop_out_name =", value, "is_drop_out_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameNotEqualTo(String value) {
            addCriterion("is_drop_out_name <>", value, "is_drop_out_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameGreaterThan(String value) {
            addCriterion("is_drop_out_name >", value, "is_drop_out_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameGreaterThanOrEqualTo(String value) {
            addCriterion("is_drop_out_name >=", value, "is_drop_out_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameLessThan(String value) {
            addCriterion("is_drop_out_name <", value, "is_drop_out_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameLessThanOrEqualTo(String value) {
            addCriterion("is_drop_out_name <=", value, "is_drop_out_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameLike(String value) {
            addCriterion("is_drop_out_name like ", value, "is_drop_out_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameNotLike(String value) {
            addCriterion("is_drop_out_name  not like ", value, "is_drop_out_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameLeftLike(String value) {
            addCriterion("is_drop_out_name like ", value, "is_drop_out_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameNotLeftLike(String value) {
            addCriterion("is_drop_out_name  not like ", value, "is_drop_out_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameRightLike(String value) {
            addCriterion("is_drop_out_name like ", value, "is_drop_out_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameNotRightLike(String value) {
            addCriterion("is_drop_out_name  not like ", value, "is_drop_out_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameIn(List<String> values) {
            addCriterion("is_drop_out_name  in ", values, "is_drop_out_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameNotIn(List<String> values) {
            addCriterion("is_drop_out_name not in ", values, "is_drop_out_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameBetween(String value1, String value2) {
            addCriterion("is_drop_out_name between ", value1, value2, "is_drop_out_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDropOutNameNotBetween(String value1, String value2) {
            addCriterion("is_drop_out_name not between ", value1, value2, "is_drop_out_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andIsDangerousIsNull() {
            addCriterion("is_dangerous is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousIsNotNull() {
            addCriterion("is_dangerous is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousEqualTo(Integer value) {
            addCriterion("is_dangerous =", value, "is_dangerous");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNotEqualTo(Integer value) {
            addCriterion("is_dangerous <>", value, "is_dangerous");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousGreaterThan(Integer value) {
            addCriterion("is_dangerous >", value, "is_dangerous");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_dangerous >=", value, "is_dangerous");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousLessThan(Integer value) {
            addCriterion("is_dangerous <", value, "is_dangerous");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousLessThanOrEqualTo(Integer value) {
            addCriterion("is_dangerous <=", value, "is_dangerous");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousLike(Integer value) {
            addCriterion("is_dangerous like ", value, "is_dangerous", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNotLike(Integer value) {
            addCriterion("is_dangerous  not like ", value, "is_dangerous", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousLeftLike(Integer value) {
            addCriterion("is_dangerous like ", value, "is_dangerous", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNotLeftLike(Integer value) {
            addCriterion("is_dangerous  not like ", value, "is_dangerous", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousRightLike(Integer value) {
            addCriterion("is_dangerous like ", value, "is_dangerous", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNotRightLike(Integer value) {
            addCriterion("is_dangerous  not like ", value, "is_dangerous", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousIn(List<Integer> values) {
            addCriterion("is_dangerous  in ", values, "is_dangerous");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNotIn(List<Integer> values) {
            addCriterion("is_dangerous not in ", values, "is_dangerous");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousBetween(Integer value1, Integer value2) {
            addCriterion("is_dangerous between ", value1, value2, "is_dangerous");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNotBetween(Integer value1, Integer value2) {
            addCriterion("is_dangerous not between ", value1, value2, "is_dangerous");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andIsDangerousNameIsNull() {
            addCriterion("is_dangerous_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameIsNotNull() {
            addCriterion("is_dangerous_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameEqualTo(String value) {
            addCriterion("is_dangerous_name =", value, "is_dangerous_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameNotEqualTo(String value) {
            addCriterion("is_dangerous_name <>", value, "is_dangerous_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameGreaterThan(String value) {
            addCriterion("is_dangerous_name >", value, "is_dangerous_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameGreaterThanOrEqualTo(String value) {
            addCriterion("is_dangerous_name >=", value, "is_dangerous_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameLessThan(String value) {
            addCriterion("is_dangerous_name <", value, "is_dangerous_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameLessThanOrEqualTo(String value) {
            addCriterion("is_dangerous_name <=", value, "is_dangerous_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameLike(String value) {
            addCriterion("is_dangerous_name like ", value, "is_dangerous_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameNotLike(String value) {
            addCriterion("is_dangerous_name  not like ", value, "is_dangerous_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameLeftLike(String value) {
            addCriterion("is_dangerous_name like ", value, "is_dangerous_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameNotLeftLike(String value) {
            addCriterion("is_dangerous_name  not like ", value, "is_dangerous_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameRightLike(String value) {
            addCriterion("is_dangerous_name like ", value, "is_dangerous_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameNotRightLike(String value) {
            addCriterion("is_dangerous_name  not like ", value, "is_dangerous_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameIn(List<String> values) {
            addCriterion("is_dangerous_name  in ", values, "is_dangerous_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameNotIn(List<String> values) {
            addCriterion("is_dangerous_name not in ", values, "is_dangerous_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameBetween(String value1, String value2) {
            addCriterion("is_dangerous_name between ", value1, value2, "is_dangerous_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsDangerousNameNotBetween(String value1, String value2) {
            addCriterion("is_dangerous_name not between ", value1, value2, "is_dangerous_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andIsNrcmsIsNull() {
            addCriterion("is_nrcms is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsIsNotNull() {
            addCriterion("is_nrcms is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsEqualTo(Integer value) {
            addCriterion("is_nrcms =", value, "is_nrcms");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNotEqualTo(Integer value) {
            addCriterion("is_nrcms <>", value, "is_nrcms");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsGreaterThan(Integer value) {
            addCriterion("is_nrcms >", value, "is_nrcms");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_nrcms >=", value, "is_nrcms");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsLessThan(Integer value) {
            addCriterion("is_nrcms <", value, "is_nrcms");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsLessThanOrEqualTo(Integer value) {
            addCriterion("is_nrcms <=", value, "is_nrcms");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsLike(Integer value) {
            addCriterion("is_nrcms like ", value, "is_nrcms", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNotLike(Integer value) {
            addCriterion("is_nrcms  not like ", value, "is_nrcms", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsLeftLike(Integer value) {
            addCriterion("is_nrcms like ", value, "is_nrcms", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNotLeftLike(Integer value) {
            addCriterion("is_nrcms  not like ", value, "is_nrcms", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsRightLike(Integer value) {
            addCriterion("is_nrcms like ", value, "is_nrcms", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNotRightLike(Integer value) {
            addCriterion("is_nrcms  not like ", value, "is_nrcms", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsIn(List<Integer> values) {
            addCriterion("is_nrcms  in ", values, "is_nrcms");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNotIn(List<Integer> values) {
            addCriterion("is_nrcms not in ", values, "is_nrcms");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsBetween(Integer value1, Integer value2) {
            addCriterion("is_nrcms between ", value1, value2, "is_nrcms");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNotBetween(Integer value1, Integer value2) {
            addCriterion("is_nrcms not between ", value1, value2, "is_nrcms");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andIsNrcmsNameIsNull() {
            addCriterion("is_nrcms_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameIsNotNull() {
            addCriterion("is_nrcms_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameEqualTo(String value) {
            addCriterion("is_nrcms_name =", value, "is_nrcms_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameNotEqualTo(String value) {
            addCriterion("is_nrcms_name <>", value, "is_nrcms_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameGreaterThan(String value) {
            addCriterion("is_nrcms_name >", value, "is_nrcms_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameGreaterThanOrEqualTo(String value) {
            addCriterion("is_nrcms_name >=", value, "is_nrcms_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameLessThan(String value) {
            addCriterion("is_nrcms_name <", value, "is_nrcms_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameLessThanOrEqualTo(String value) {
            addCriterion("is_nrcms_name <=", value, "is_nrcms_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameLike(String value) {
            addCriterion("is_nrcms_name like ", value, "is_nrcms_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameNotLike(String value) {
            addCriterion("is_nrcms_name  not like ", value, "is_nrcms_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameLeftLike(String value) {
            addCriterion("is_nrcms_name like ", value, "is_nrcms_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameNotLeftLike(String value) {
            addCriterion("is_nrcms_name  not like ", value, "is_nrcms_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameRightLike(String value) {
            addCriterion("is_nrcms_name like ", value, "is_nrcms_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameNotRightLike(String value) {
            addCriterion("is_nrcms_name  not like ", value, "is_nrcms_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameIn(List<String> values) {
            addCriterion("is_nrcms_name  in ", values, "is_nrcms_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameNotIn(List<String> values) {
            addCriterion("is_nrcms_name not in ", values, "is_nrcms_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameBetween(String value1, String value2) {
            addCriterion("is_nrcms_name between ", value1, value2, "is_nrcms_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsNrcmsNameNotBetween(String value1, String value2) {
            addCriterion("is_nrcms_name not between ", value1, value2, "is_nrcms_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andIsEndowmentIsNull() {
            addCriterion("is_endowment is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentIsNotNull() {
            addCriterion("is_endowment is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentEqualTo(Integer value) {
            addCriterion("is_endowment =", value, "is_endowment");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNotEqualTo(Integer value) {
            addCriterion("is_endowment <>", value, "is_endowment");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentGreaterThan(Integer value) {
            addCriterion("is_endowment >", value, "is_endowment");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_endowment >=", value, "is_endowment");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentLessThan(Integer value) {
            addCriterion("is_endowment <", value, "is_endowment");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentLessThanOrEqualTo(Integer value) {
            addCriterion("is_endowment <=", value, "is_endowment");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentLike(Integer value) {
            addCriterion("is_endowment like ", value, "is_endowment", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNotLike(Integer value) {
            addCriterion("is_endowment  not like ", value, "is_endowment", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentLeftLike(Integer value) {
            addCriterion("is_endowment like ", value, "is_endowment", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNotLeftLike(Integer value) {
            addCriterion("is_endowment  not like ", value, "is_endowment", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentRightLike(Integer value) {
            addCriterion("is_endowment like ", value, "is_endowment", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNotRightLike(Integer value) {
            addCriterion("is_endowment  not like ", value, "is_endowment", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentIn(List<Integer> values) {
            addCriterion("is_endowment  in ", values, "is_endowment");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNotIn(List<Integer> values) {
            addCriterion("is_endowment not in ", values, "is_endowment");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentBetween(Integer value1, Integer value2) {
            addCriterion("is_endowment between ", value1, value2, "is_endowment");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNotBetween(Integer value1, Integer value2) {
            addCriterion("is_endowment not between ", value1, value2, "is_endowment");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andIsEndowmentNameIsNull() {
            addCriterion("is_endowment_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameIsNotNull() {
            addCriterion("is_endowment_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameEqualTo(String value) {
            addCriterion("is_endowment_name =", value, "is_endowment_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameNotEqualTo(String value) {
            addCriterion("is_endowment_name <>", value, "is_endowment_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameGreaterThan(String value) {
            addCriterion("is_endowment_name >", value, "is_endowment_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameGreaterThanOrEqualTo(String value) {
            addCriterion("is_endowment_name >=", value, "is_endowment_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameLessThan(String value) {
            addCriterion("is_endowment_name <", value, "is_endowment_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameLessThanOrEqualTo(String value) {
            addCriterion("is_endowment_name <=", value, "is_endowment_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameLike(String value) {
            addCriterion("is_endowment_name like ", value, "is_endowment_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameNotLike(String value) {
            addCriterion("is_endowment_name  not like ", value, "is_endowment_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameLeftLike(String value) {
            addCriterion("is_endowment_name like ", value, "is_endowment_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameNotLeftLike(String value) {
            addCriterion("is_endowment_name  not like ", value, "is_endowment_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameRightLike(String value) {
            addCriterion("is_endowment_name like ", value, "is_endowment_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameNotRightLike(String value) {
            addCriterion("is_endowment_name  not like ", value, "is_endowment_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameIn(List<String> values) {
            addCriterion("is_endowment_name  in ", values, "is_endowment_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameNotIn(List<String> values) {
            addCriterion("is_endowment_name not in ", values, "is_endowment_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameBetween(String value1, String value2) {
            addCriterion("is_endowment_name between ", value1, value2, "is_endowment_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIsEndowmentNameNotBetween(String value1, String value2) {
            addCriterion("is_endowment_name not between ", value1, value2, "is_endowment_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andMainReasonIsNull() {
            addCriterion("main_reason is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonIsNotNull() {
            addCriterion("main_reason is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonEqualTo(Integer value) {
            addCriterion("main_reason =", value, "main_reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNotEqualTo(Integer value) {
            addCriterion("main_reason <>", value, "main_reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonGreaterThan(Integer value) {
            addCriterion("main_reason >", value, "main_reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonGreaterThanOrEqualTo(Integer value) {
            addCriterion("main_reason >=", value, "main_reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonLessThan(Integer value) {
            addCriterion("main_reason <", value, "main_reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonLessThanOrEqualTo(Integer value) {
            addCriterion("main_reason <=", value, "main_reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonLike(Integer value) {
            addCriterion("main_reason like ", value, "main_reason", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNotLike(Integer value) {
            addCriterion("main_reason  not like ", value, "main_reason", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonLeftLike(Integer value) {
            addCriterion("main_reason like ", value, "main_reason", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNotLeftLike(Integer value) {
            addCriterion("main_reason  not like ", value, "main_reason", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonRightLike(Integer value) {
            addCriterion("main_reason like ", value, "main_reason", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNotRightLike(Integer value) {
            addCriterion("main_reason  not like ", value, "main_reason", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonIn(List<Integer> values) {
            addCriterion("main_reason  in ", values, "main_reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNotIn(List<Integer> values) {
            addCriterion("main_reason not in ", values, "main_reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonBetween(Integer value1, Integer value2) {
            addCriterion("main_reason between ", value1, value2, "main_reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNotBetween(Integer value1, Integer value2) {
            addCriterion("main_reason not between ", value1, value2, "main_reason");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andMainReasonNameIsNull() {
            addCriterion("main_reason_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameIsNotNull() {
            addCriterion("main_reason_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameEqualTo(String value) {
            addCriterion("main_reason_name =", value, "main_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameNotEqualTo(String value) {
            addCriterion("main_reason_name <>", value, "main_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameGreaterThan(String value) {
            addCriterion("main_reason_name >", value, "main_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameGreaterThanOrEqualTo(String value) {
            addCriterion("main_reason_name >=", value, "main_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameLessThan(String value) {
            addCriterion("main_reason_name <", value, "main_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameLessThanOrEqualTo(String value) {
            addCriterion("main_reason_name <=", value, "main_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameLike(String value) {
            addCriterion("main_reason_name like ", value, "main_reason_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameNotLike(String value) {
            addCriterion("main_reason_name  not like ", value, "main_reason_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameLeftLike(String value) {
            addCriterion("main_reason_name like ", value, "main_reason_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameNotLeftLike(String value) {
            addCriterion("main_reason_name  not like ", value, "main_reason_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameRightLike(String value) {
            addCriterion("main_reason_name like ", value, "main_reason_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameNotRightLike(String value) {
            addCriterion("main_reason_name  not like ", value, "main_reason_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameIn(List<String> values) {
            addCriterion("main_reason_name  in ", values, "main_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameNotIn(List<String> values) {
            addCriterion("main_reason_name not in ", values, "main_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameBetween(String value1, String value2) {
            addCriterion("main_reason_name between ", value1, value2, "main_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andMainReasonNameNotBetween(String value1, String value2) {
            addCriterion("main_reason_name not between ", value1, value2, "main_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andPovertyStateIsNull() {
            addCriterion("poverty_state is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateIsNotNull() {
            addCriterion("poverty_state is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateEqualTo(Integer value) {
            addCriterion("poverty_state =", value, "poverty_state");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNotEqualTo(Integer value) {
            addCriterion("poverty_state <>", value, "poverty_state");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateGreaterThan(Integer value) {
            addCriterion("poverty_state >", value, "poverty_state");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("poverty_state >=", value, "poverty_state");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateLessThan(Integer value) {
            addCriterion("poverty_state <", value, "poverty_state");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateLessThanOrEqualTo(Integer value) {
            addCriterion("poverty_state <=", value, "poverty_state");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateLike(Integer value) {
            addCriterion("poverty_state like ", value, "poverty_state", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNotLike(Integer value) {
            addCriterion("poverty_state  not like ", value, "poverty_state", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateLeftLike(Integer value) {
            addCriterion("poverty_state like ", value, "poverty_state", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNotLeftLike(Integer value) {
            addCriterion("poverty_state  not like ", value, "poverty_state", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateRightLike(Integer value) {
            addCriterion("poverty_state like ", value, "poverty_state", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNotRightLike(Integer value) {
            addCriterion("poverty_state  not like ", value, "poverty_state", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateIn(List<Integer> values) {
            addCriterion("poverty_state  in ", values, "poverty_state");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNotIn(List<Integer> values) {
            addCriterion("poverty_state not in ", values, "poverty_state");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateBetween(Integer value1, Integer value2) {
            addCriterion("poverty_state between ", value1, value2, "poverty_state");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNotBetween(Integer value1, Integer value2) {
            addCriterion("poverty_state not between ", value1, value2, "poverty_state");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andPovertyStateNameIsNull() {
            addCriterion("poverty_state_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameIsNotNull() {
            addCriterion("poverty_state_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameEqualTo(String value) {
            addCriterion("poverty_state_name =", value, "poverty_state_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameNotEqualTo(String value) {
            addCriterion("poverty_state_name <>", value, "poverty_state_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameGreaterThan(String value) {
            addCriterion("poverty_state_name >", value, "poverty_state_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameGreaterThanOrEqualTo(String value) {
            addCriterion("poverty_state_name >=", value, "poverty_state_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameLessThan(String value) {
            addCriterion("poverty_state_name <", value, "poverty_state_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameLessThanOrEqualTo(String value) {
            addCriterion("poverty_state_name <=", value, "poverty_state_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameLike(String value) {
            addCriterion("poverty_state_name like ", value, "poverty_state_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameNotLike(String value) {
            addCriterion("poverty_state_name  not like ", value, "poverty_state_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameLeftLike(String value) {
            addCriterion("poverty_state_name like ", value, "poverty_state_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameNotLeftLike(String value) {
            addCriterion("poverty_state_name  not like ", value, "poverty_state_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameRightLike(String value) {
            addCriterion("poverty_state_name like ", value, "poverty_state_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameNotRightLike(String value) {
            addCriterion("poverty_state_name  not like ", value, "poverty_state_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameIn(List<String> values) {
            addCriterion("poverty_state_name  in ", values, "poverty_state_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameNotIn(List<String> values) {
            addCriterion("poverty_state_name not in ", values, "poverty_state_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameBetween(String value1, String value2) {
            addCriterion("poverty_state_name between ", value1, value2, "poverty_state_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateNameNotBetween(String value1, String value2) {
            addCriterion("poverty_state_name not between ", value1, value2, "poverty_state_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andIdentStandardIsNull() {
            addCriterion("ident_standard is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardIsNotNull() {
            addCriterion("ident_standard is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardEqualTo(Integer value) {
            addCriterion("ident_standard =", value, "ident_standard");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNotEqualTo(Integer value) {
            addCriterion("ident_standard <>", value, "ident_standard");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardGreaterThan(Integer value) {
            addCriterion("ident_standard >", value, "ident_standard");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardGreaterThanOrEqualTo(Integer value) {
            addCriterion("ident_standard >=", value, "ident_standard");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardLessThan(Integer value) {
            addCriterion("ident_standard <", value, "ident_standard");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardLessThanOrEqualTo(Integer value) {
            addCriterion("ident_standard <=", value, "ident_standard");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardLike(Integer value) {
            addCriterion("ident_standard like ", value, "ident_standard", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNotLike(Integer value) {
            addCriterion("ident_standard  not like ", value, "ident_standard", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardLeftLike(Integer value) {
            addCriterion("ident_standard like ", value, "ident_standard", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNotLeftLike(Integer value) {
            addCriterion("ident_standard  not like ", value, "ident_standard", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardRightLike(Integer value) {
            addCriterion("ident_standard like ", value, "ident_standard", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNotRightLike(Integer value) {
            addCriterion("ident_standard  not like ", value, "ident_standard", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardIn(List<Integer> values) {
            addCriterion("ident_standard  in ", values, "ident_standard");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNotIn(List<Integer> values) {
            addCriterion("ident_standard not in ", values, "ident_standard");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardBetween(Integer value1, Integer value2) {
            addCriterion("ident_standard between ", value1, value2, "ident_standard");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNotBetween(Integer value1, Integer value2) {
            addCriterion("ident_standard not between ", value1, value2, "ident_standard");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andIdentStandardNameIsNull() {
            addCriterion("ident_standard_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameIsNotNull() {
            addCriterion("ident_standard_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameEqualTo(String value) {
            addCriterion("ident_standard_name =", value, "ident_standard_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameNotEqualTo(String value) {
            addCriterion("ident_standard_name <>", value, "ident_standard_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameGreaterThan(String value) {
            addCriterion("ident_standard_name >", value, "ident_standard_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameGreaterThanOrEqualTo(String value) {
            addCriterion("ident_standard_name >=", value, "ident_standard_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameLessThan(String value) {
            addCriterion("ident_standard_name <", value, "ident_standard_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameLessThanOrEqualTo(String value) {
            addCriterion("ident_standard_name <=", value, "ident_standard_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameLike(String value) {
            addCriterion("ident_standard_name like ", value, "ident_standard_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameNotLike(String value) {
            addCriterion("ident_standard_name  not like ", value, "ident_standard_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameLeftLike(String value) {
            addCriterion("ident_standard_name like ", value, "ident_standard_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameNotLeftLike(String value) {
            addCriterion("ident_standard_name  not like ", value, "ident_standard_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameRightLike(String value) {
            addCriterion("ident_standard_name like ", value, "ident_standard_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameNotRightLike(String value) {
            addCriterion("ident_standard_name  not like ", value, "ident_standard_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameIn(List<String> values) {
            addCriterion("ident_standard_name  in ", values, "ident_standard_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameNotIn(List<String> values) {
            addCriterion("ident_standard_name not in ", values, "ident_standard_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameBetween(String value1, String value2) {
            addCriterion("ident_standard_name between ", value1, value2, "ident_standard_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andIdentStandardNameNotBetween(String value1, String value2) {
            addCriterion("ident_standard_name not between ", value1, value2, "ident_standard_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andAidMainStaffIsNull() {
            addCriterion("aid_main_staff is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffIsNotNull() {
            addCriterion("aid_main_staff is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffEqualTo(Integer value) {
            addCriterion("aid_main_staff =", value, "aid_main_staff");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffNotEqualTo(Integer value) {
            addCriterion("aid_main_staff <>", value, "aid_main_staff");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffGreaterThan(Integer value) {
            addCriterion("aid_main_staff >", value, "aid_main_staff");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffGreaterThanOrEqualTo(Integer value) {
            addCriterion("aid_main_staff >=", value, "aid_main_staff");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffLessThan(Integer value) {
            addCriterion("aid_main_staff <", value, "aid_main_staff");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffLessThanOrEqualTo(Integer value) {
            addCriterion("aid_main_staff <=", value, "aid_main_staff");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffLike(Integer value) {
            addCriterion("aid_main_staff like ", value, "aid_main_staff", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffNotLike(Integer value) {
            addCriterion("aid_main_staff  not like ", value, "aid_main_staff", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffLeftLike(Integer value) {
            addCriterion("aid_main_staff like ", value, "aid_main_staff", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffNotLeftLike(Integer value) {
            addCriterion("aid_main_staff  not like ", value, "aid_main_staff", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffRightLike(Integer value) {
            addCriterion("aid_main_staff like ", value, "aid_main_staff", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffNotRightLike(Integer value) {
            addCriterion("aid_main_staff  not like ", value, "aid_main_staff", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffIn(List<Integer> values) {
            addCriterion("aid_main_staff  in ", values, "aid_main_staff");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffNotIn(List<Integer> values) {
            addCriterion("aid_main_staff not in ", values, "aid_main_staff");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffBetween(Integer value1, Integer value2) {
            addCriterion("aid_main_staff between ", value1, value2, "aid_main_staff");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidMainStaffNotBetween(Integer value1, Integer value2) {
            addCriterion("aid_main_staff not between ", value1, value2, "aid_main_staff");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andReasonIsNull() {
            addCriterion("reason is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonIsNotNull() {
            addCriterion("reason is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonEqualTo(String value) {
            addCriterion("reason =", value, "reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonNotEqualTo(String value) {
            addCriterion("reason <>", value, "reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonGreaterThan(String value) {
            addCriterion("reason >", value, "reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonGreaterThanOrEqualTo(String value) {
            addCriterion("reason >=", value, "reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonLessThan(String value) {
            addCriterion("reason <", value, "reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonLessThanOrEqualTo(String value) {
            addCriterion("reason <=", value, "reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonLike(String value) {
            addCriterion("reason like ", value, "reason", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonNotLike(String value) {
            addCriterion("reason  not like ", value, "reason", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonLeftLike(String value) {
            addCriterion("reason like ", value, "reason", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonNotLeftLike(String value) {
            addCriterion("reason  not like ", value, "reason", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonRightLike(String value) {
            addCriterion("reason like ", value, "reason", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonNotRightLike(String value) {
            addCriterion("reason  not like ", value, "reason", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonIn(List<String> values) {
            addCriterion("reason  in ", values, "reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonNotIn(List<String> values) {
            addCriterion("reason not in ", values, "reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonBetween(String value1, String value2) {
            addCriterion("reason between ", value1, value2, "reason");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andReasonNotBetween(String value1, String value2) {
            addCriterion("reason not between ", value1, value2, "reason");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andPlanShakeOffDateIsNull() {
            addCriterion("PLAN_SHAKE_OFF_DATE is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateIsNotNull() {
            addCriterion("PLAN_SHAKE_OFF_DATE is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateEqualTo(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE =", value, "PLAN_SHAKE_OFF_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateNotEqualTo(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE <>", value, "PLAN_SHAKE_OFF_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateGreaterThan(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE >", value, "PLAN_SHAKE_OFF_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateGreaterThanOrEqualTo(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE >=", value, "PLAN_SHAKE_OFF_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateLessThan(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE <", value, "PLAN_SHAKE_OFF_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateLessThanOrEqualTo(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE <=", value, "PLAN_SHAKE_OFF_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateLike(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE like ", value, "PLAN_SHAKE_OFF_DATE", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateNotLike(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE  not like ", value, "PLAN_SHAKE_OFF_DATE", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateLeftLike(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE like ", value, "PLAN_SHAKE_OFF_DATE", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateNotLeftLike(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE  not like ", value, "PLAN_SHAKE_OFF_DATE", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateRightLike(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE like ", value, "PLAN_SHAKE_OFF_DATE", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateNotRightLike(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE  not like ", value, "PLAN_SHAKE_OFF_DATE", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateIn(List<Date> values) {
            addCriterion("PLAN_SHAKE_OFF_DATE  in ", values, "PLAN_SHAKE_OFF_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateNotIn(List<Date> values) {
            addCriterion("PLAN_SHAKE_OFF_DATE not in ", values, "PLAN_SHAKE_OFF_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateBetween(Date value1, Date value2) {
            addCriterion("PLAN_SHAKE_OFF_DATE between ", value1, value2, "PLAN_SHAKE_OFF_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPlanShakeOffDateNotBetween(Date value1, Date value2) {
            addCriterion("PLAN_SHAKE_OFF_DATE not between ", value1, value2, "PLAN_SHAKE_OFF_DATE");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andPhotoListIsNull() {
            addCriterion("PHOTO_LIST is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListIsNotNull() {
            addCriterion("PHOTO_LIST is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListEqualTo(String value) {
            addCriterion("PHOTO_LIST =", value, "PHOTO_LIST");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListNotEqualTo(String value) {
            addCriterion("PHOTO_LIST <>", value, "PHOTO_LIST");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListGreaterThan(String value) {
            addCriterion("PHOTO_LIST >", value, "PHOTO_LIST");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListGreaterThanOrEqualTo(String value) {
            addCriterion("PHOTO_LIST >=", value, "PHOTO_LIST");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListLessThan(String value) {
            addCriterion("PHOTO_LIST <", value, "PHOTO_LIST");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListLessThanOrEqualTo(String value) {
            addCriterion("PHOTO_LIST <=", value, "PHOTO_LIST");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListLike(String value) {
            addCriterion("PHOTO_LIST like ", value, "PHOTO_LIST", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListNotLike(String value) {
            addCriterion("PHOTO_LIST  not like ", value, "PHOTO_LIST", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListLeftLike(String value) {
            addCriterion("PHOTO_LIST like ", value, "PHOTO_LIST", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListNotLeftLike(String value) {
            addCriterion("PHOTO_LIST  not like ", value, "PHOTO_LIST", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListRightLike(String value) {
            addCriterion("PHOTO_LIST like ", value, "PHOTO_LIST", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListNotRightLike(String value) {
            addCriterion("PHOTO_LIST  not like ", value, "PHOTO_LIST", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListIn(List<String> values) {
            addCriterion("PHOTO_LIST  in ", values, "PHOTO_LIST");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListNotIn(List<String> values) {
            addCriterion("PHOTO_LIST not in ", values, "PHOTO_LIST");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListBetween(String value1, String value2) {
            addCriterion("PHOTO_LIST between ", value1, value2, "PHOTO_LIST");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPhotoListNotBetween(String value1, String value2) {
            addCriterion("PHOTO_LIST not between ", value1, value2, "PHOTO_LIST");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andAdressIsNull() {
            addCriterion("ADRESS is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressIsNotNull() {
            addCriterion("ADRESS is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressEqualTo(String value) {
            addCriterion("ADRESS =", value, "ADRESS");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressNotEqualTo(String value) {
            addCriterion("ADRESS <>", value, "ADRESS");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressGreaterThan(String value) {
            addCriterion("ADRESS >", value, "ADRESS");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressGreaterThanOrEqualTo(String value) {
            addCriterion("ADRESS >=", value, "ADRESS");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressLessThan(String value) {
            addCriterion("ADRESS <", value, "ADRESS");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressLessThanOrEqualTo(String value) {
            addCriterion("ADRESS <=", value, "ADRESS");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressLike(String value) {
            addCriterion("ADRESS like ", value, "ADRESS", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressNotLike(String value) {
            addCriterion("ADRESS  not like ", value, "ADRESS", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressLeftLike(String value) {
            addCriterion("ADRESS like ", value, "ADRESS", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressNotLeftLike(String value) {
            addCriterion("ADRESS  not like ", value, "ADRESS", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressRightLike(String value) {
            addCriterion("ADRESS like ", value, "ADRESS", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressNotRightLike(String value) {
            addCriterion("ADRESS  not like ", value, "ADRESS", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressIn(List<String> values) {
            addCriterion("ADRESS  in ", values, "ADRESS");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressNotIn(List<String> values) {
            addCriterion("ADRESS not in ", values, "ADRESS");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressBetween(String value1, String value2) {
            addCriterion("ADRESS between ", value1, value2, "ADRESS");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAdressNotBetween(String value1, String value2) {
            addCriterion("ADRESS not between ", value1, value2, "ADRESS");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andOtherReasonIsNull() {
            addCriterion("OTHER_REASON is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonIsNotNull() {
            addCriterion("OTHER_REASON is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonEqualTo(String value) {
            addCriterion("OTHER_REASON =", value, "OTHER_REASON");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNotEqualTo(String value) {
            addCriterion("OTHER_REASON <>", value, "OTHER_REASON");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonGreaterThan(String value) {
            addCriterion("OTHER_REASON >", value, "OTHER_REASON");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonGreaterThanOrEqualTo(String value) {
            addCriterion("OTHER_REASON >=", value, "OTHER_REASON");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonLessThan(String value) {
            addCriterion("OTHER_REASON <", value, "OTHER_REASON");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonLessThanOrEqualTo(String value) {
            addCriterion("OTHER_REASON <=", value, "OTHER_REASON");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonLike(String value) {
            addCriterion("OTHER_REASON like ", value, "OTHER_REASON", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNotLike(String value) {
            addCriterion("OTHER_REASON  not like ", value, "OTHER_REASON", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonLeftLike(String value) {
            addCriterion("OTHER_REASON like ", value, "OTHER_REASON", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNotLeftLike(String value) {
            addCriterion("OTHER_REASON  not like ", value, "OTHER_REASON", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonRightLike(String value) {
            addCriterion("OTHER_REASON like ", value, "OTHER_REASON", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNotRightLike(String value) {
            addCriterion("OTHER_REASON  not like ", value, "OTHER_REASON", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonIn(List<String> values) {
            addCriterion("OTHER_REASON  in ", values, "OTHER_REASON");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNotIn(List<String> values) {
            addCriterion("OTHER_REASON not in ", values, "OTHER_REASON");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonBetween(String value1, String value2) {
            addCriterion("OTHER_REASON between ", value1, value2, "OTHER_REASON");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNotBetween(String value1, String value2) {
            addCriterion("OTHER_REASON not between ", value1, value2, "OTHER_REASON");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andOtherReasonNameIsNull() {
            addCriterion("other_reason_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameIsNotNull() {
            addCriterion("other_reason_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameEqualTo(String value) {
            addCriterion("other_reason_name =", value, "other_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameNotEqualTo(String value) {
            addCriterion("other_reason_name <>", value, "other_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameGreaterThan(String value) {
            addCriterion("other_reason_name >", value, "other_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameGreaterThanOrEqualTo(String value) {
            addCriterion("other_reason_name >=", value, "other_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameLessThan(String value) {
            addCriterion("other_reason_name <", value, "other_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameLessThanOrEqualTo(String value) {
            addCriterion("other_reason_name <=", value, "other_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameLike(String value) {
            addCriterion("other_reason_name like ", value, "other_reason_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameNotLike(String value) {
            addCriterion("other_reason_name  not like ", value, "other_reason_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameLeftLike(String value) {
            addCriterion("other_reason_name like ", value, "other_reason_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameNotLeftLike(String value) {
            addCriterion("other_reason_name  not like ", value, "other_reason_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameRightLike(String value) {
            addCriterion("other_reason_name like ", value, "other_reason_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameNotRightLike(String value) {
            addCriterion("other_reason_name  not like ", value, "other_reason_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameIn(List<String> values) {
            addCriterion("other_reason_name  in ", values, "other_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameNotIn(List<String> values) {
            addCriterion("other_reason_name not in ", values, "other_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameBetween(String value1, String value2) {
            addCriterion("other_reason_name between ", value1, value2, "other_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andOtherReasonNameNotBetween(String value1, String value2) {
            addCriterion("other_reason_name not between ", value1, value2, "other_reason_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andAidlogSumIsNull() {
            addCriterion("aidlog_sum is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumIsNotNull() {
            addCriterion("aidlog_sum is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumEqualTo(Long value) {
            addCriterion("aidlog_sum =", value, "aidlog_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumNotEqualTo(Long value) {
            addCriterion("aidlog_sum <>", value, "aidlog_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumGreaterThan(Long value) {
            addCriterion("aidlog_sum >", value, "aidlog_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumGreaterThanOrEqualTo(Long value) {
            addCriterion("aidlog_sum >=", value, "aidlog_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumLessThan(Long value) {
            addCriterion("aidlog_sum <", value, "aidlog_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumLessThanOrEqualTo(Long value) {
            addCriterion("aidlog_sum <=", value, "aidlog_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumLike(Long value) {
            addCriterion("aidlog_sum like ", value, "aidlog_sum", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumNotLike(Long value) {
            addCriterion("aidlog_sum  not like ", value, "aidlog_sum", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumLeftLike(Long value) {
            addCriterion("aidlog_sum like ", value, "aidlog_sum", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumNotLeftLike(Long value) {
            addCriterion("aidlog_sum  not like ", value, "aidlog_sum", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumRightLike(Long value) {
            addCriterion("aidlog_sum like ", value, "aidlog_sum", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumNotRightLike(Long value) {
            addCriterion("aidlog_sum  not like ", value, "aidlog_sum", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumIn(List<Long> values) {
            addCriterion("aidlog_sum  in ", values, "aidlog_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumNotIn(List<Long> values) {
            addCriterion("aidlog_sum not in ", values, "aidlog_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumBetween(Long value1, Long value2) {
            addCriterion("aidlog_sum between ", value1, value2, "aidlog_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidlogSumNotBetween(Long value1, Long value2) {
            addCriterion("aidlog_sum not between ", value1, value2, "aidlog_sum");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andVistedSumIsNull() {
            addCriterion("visted_sum is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumIsNotNull() {
            addCriterion("visted_sum is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumEqualTo(Long value) {
            addCriterion("visted_sum =", value, "visted_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumNotEqualTo(Long value) {
            addCriterion("visted_sum <>", value, "visted_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumGreaterThan(Long value) {
            addCriterion("visted_sum >", value, "visted_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumGreaterThanOrEqualTo(Long value) {
            addCriterion("visted_sum >=", value, "visted_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumLessThan(Long value) {
            addCriterion("visted_sum <", value, "visted_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumLessThanOrEqualTo(Long value) {
            addCriterion("visted_sum <=", value, "visted_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumLike(Long value) {
            addCriterion("visted_sum like ", value, "visted_sum", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumNotLike(Long value) {
            addCriterion("visted_sum  not like ", value, "visted_sum", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumLeftLike(Long value) {
            addCriterion("visted_sum like ", value, "visted_sum", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumNotLeftLike(Long value) {
            addCriterion("visted_sum  not like ", value, "visted_sum", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumRightLike(Long value) {
            addCriterion("visted_sum like ", value, "visted_sum", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumNotRightLike(Long value) {
            addCriterion("visted_sum  not like ", value, "visted_sum", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumIn(List<Long> values) {
            addCriterion("visted_sum  in ", values, "visted_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumNotIn(List<Long> values) {
            addCriterion("visted_sum not in ", values, "visted_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumBetween(Long value1, Long value2) {
            addCriterion("visted_sum between ", value1, value2, "visted_sum");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andVistedSumNotBetween(Long value1, Long value2) {
            addCriterion("visted_sum not between ", value1, value2, "visted_sum");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andTotalMemberIsNull() {
            addCriterion("total_member is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberIsNotNull() {
            addCriterion("total_member is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberEqualTo(Long value) {
            addCriterion("total_member =", value, "total_member");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberNotEqualTo(Long value) {
            addCriterion("total_member <>", value, "total_member");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberGreaterThan(Long value) {
            addCriterion("total_member >", value, "total_member");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberGreaterThanOrEqualTo(Long value) {
            addCriterion("total_member >=", value, "total_member");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberLessThan(Long value) {
            addCriterion("total_member <", value, "total_member");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberLessThanOrEqualTo(Long value) {
            addCriterion("total_member <=", value, "total_member");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberLike(Long value) {
            addCriterion("total_member like ", value, "total_member", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberNotLike(Long value) {
            addCriterion("total_member  not like ", value, "total_member", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberLeftLike(Long value) {
            addCriterion("total_member like ", value, "total_member", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberNotLeftLike(Long value) {
            addCriterion("total_member  not like ", value, "total_member", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberRightLike(Long value) {
            addCriterion("total_member like ", value, "total_member", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberNotRightLike(Long value) {
            addCriterion("total_member  not like ", value, "total_member", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberIn(List<Long> values) {
            addCriterion("total_member  in ", values, "total_member");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberNotIn(List<Long> values) {
            addCriterion("total_member not in ", values, "total_member");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberBetween(Long value1, Long value2) {
            addCriterion("total_member between ", value1, value2, "total_member");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andTotalMemberNotBetween(Long value1, Long value2) {
            addCriterion("total_member not between ", value1, value2, "total_member");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andAidStaffTelIsNull() {
            addCriterion("aid_staff_tel is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelIsNotNull() {
            addCriterion("aid_staff_tel is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelEqualTo(String value) {
            addCriterion("aid_staff_tel =", value, "aid_staff_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelNotEqualTo(String value) {
            addCriterion("aid_staff_tel <>", value, "aid_staff_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelGreaterThan(String value) {
            addCriterion("aid_staff_tel >", value, "aid_staff_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelGreaterThanOrEqualTo(String value) {
            addCriterion("aid_staff_tel >=", value, "aid_staff_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelLessThan(String value) {
            addCriterion("aid_staff_tel <", value, "aid_staff_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelLessThanOrEqualTo(String value) {
            addCriterion("aid_staff_tel <=", value, "aid_staff_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelLike(String value) {
            addCriterion("aid_staff_tel like ", value, "aid_staff_tel", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelNotLike(String value) {
            addCriterion("aid_staff_tel  not like ", value, "aid_staff_tel", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelLeftLike(String value) {
            addCriterion("aid_staff_tel like ", value, "aid_staff_tel", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelNotLeftLike(String value) {
            addCriterion("aid_staff_tel  not like ", value, "aid_staff_tel", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelRightLike(String value) {
            addCriterion("aid_staff_tel like ", value, "aid_staff_tel", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelNotRightLike(String value) {
            addCriterion("aid_staff_tel  not like ", value, "aid_staff_tel", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelIn(List<String> values) {
            addCriterion("aid_staff_tel  in ", values, "aid_staff_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelNotIn(List<String> values) {
            addCriterion("aid_staff_tel not in ", values, "aid_staff_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelBetween(String value1, String value2) {
            addCriterion("aid_staff_tel between ", value1, value2, "aid_staff_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffTelNotBetween(String value1, String value2) {
            addCriterion("aid_staff_tel not between ", value1, value2, "aid_staff_tel");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andAidStaffNameIsNull() {
            addCriterion("aid_staff_name is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameIsNotNull() {
            addCriterion("aid_staff_name is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameEqualTo(String value) {
            addCriterion("aid_staff_name =", value, "aid_staff_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameNotEqualTo(String value) {
            addCriterion("aid_staff_name <>", value, "aid_staff_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameGreaterThan(String value) {
            addCriterion("aid_staff_name >", value, "aid_staff_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameGreaterThanOrEqualTo(String value) {
            addCriterion("aid_staff_name >=", value, "aid_staff_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameLessThan(String value) {
            addCriterion("aid_staff_name <", value, "aid_staff_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameLessThanOrEqualTo(String value) {
            addCriterion("aid_staff_name <=", value, "aid_staff_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameLike(String value) {
            addCriterion("aid_staff_name like ", value, "aid_staff_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameNotLike(String value) {
            addCriterion("aid_staff_name  not like ", value, "aid_staff_name", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameLeftLike(String value) {
            addCriterion("aid_staff_name like ", value, "aid_staff_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameNotLeftLike(String value) {
            addCriterion("aid_staff_name  not like ", value, "aid_staff_name", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameRightLike(String value) {
            addCriterion("aid_staff_name like ", value, "aid_staff_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameNotRightLike(String value) {
            addCriterion("aid_staff_name  not like ", value, "aid_staff_name", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameIn(List<String> values) {
            addCriterion("aid_staff_name  in ", values, "aid_staff_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameNotIn(List<String> values) {
            addCriterion("aid_staff_name not in ", values, "aid_staff_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameBetween(String value1, String value2) {
            addCriterion("aid_staff_name between ", value1, value2, "aid_staff_name");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffNameNotBetween(String value1, String value2) {
            addCriterion("aid_staff_name not between ", value1, value2, "aid_staff_name");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andAidStaffJobTitleIsNull() {
            addCriterion("aid_staff_job_title is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleIsNotNull() {
            addCriterion("aid_staff_job_title is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleEqualTo(String value) {
            addCriterion("aid_staff_job_title =", value, "aid_staff_job_title");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleNotEqualTo(String value) {
            addCriterion("aid_staff_job_title <>", value, "aid_staff_job_title");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleGreaterThan(String value) {
            addCriterion("aid_staff_job_title >", value, "aid_staff_job_title");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleGreaterThanOrEqualTo(String value) {
            addCriterion("aid_staff_job_title >=", value, "aid_staff_job_title");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleLessThan(String value) {
            addCriterion("aid_staff_job_title <", value, "aid_staff_job_title");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleLessThanOrEqualTo(String value) {
            addCriterion("aid_staff_job_title <=", value, "aid_staff_job_title");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleLike(String value) {
            addCriterion("aid_staff_job_title like ", value, "aid_staff_job_title", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleNotLike(String value) {
            addCriterion("aid_staff_job_title  not like ", value, "aid_staff_job_title", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleLeftLike(String value) {
            addCriterion("aid_staff_job_title like ", value, "aid_staff_job_title", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleNotLeftLike(String value) {
            addCriterion("aid_staff_job_title  not like ", value, "aid_staff_job_title", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleRightLike(String value) {
            addCriterion("aid_staff_job_title like ", value, "aid_staff_job_title", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleNotRightLike(String value) {
            addCriterion("aid_staff_job_title  not like ", value, "aid_staff_job_title", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleIn(List<String> values) {
            addCriterion("aid_staff_job_title  in ", values, "aid_staff_job_title");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleNotIn(List<String> values) {
            addCriterion("aid_staff_job_title not in ", values, "aid_staff_job_title");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleBetween(String value1, String value2) {
            addCriterion("aid_staff_job_title between ", value1, value2, "aid_staff_job_title");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffJobTitleNotBetween(String value1, String value2) {
            addCriterion("aid_staff_job_title not between ", value1, value2, "aid_staff_job_title");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andAidStaffOfficeTelIsNull() {
            addCriterion("aid_staff_office_tel is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelIsNotNull() {
            addCriterion("aid_staff_office_tel is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelEqualTo(String value) {
            addCriterion("aid_staff_office_tel =", value, "aid_staff_office_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelNotEqualTo(String value) {
            addCriterion("aid_staff_office_tel <>", value, "aid_staff_office_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelGreaterThan(String value) {
            addCriterion("aid_staff_office_tel >", value, "aid_staff_office_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelGreaterThanOrEqualTo(String value) {
            addCriterion("aid_staff_office_tel >=", value, "aid_staff_office_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelLessThan(String value) {
            addCriterion("aid_staff_office_tel <", value, "aid_staff_office_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelLessThanOrEqualTo(String value) {
            addCriterion("aid_staff_office_tel <=", value, "aid_staff_office_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelLike(String value) {
            addCriterion("aid_staff_office_tel like ", value, "aid_staff_office_tel", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelNotLike(String value) {
            addCriterion("aid_staff_office_tel  not like ", value, "aid_staff_office_tel", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelLeftLike(String value) {
            addCriterion("aid_staff_office_tel like ", value, "aid_staff_office_tel", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelNotLeftLike(String value) {
            addCriterion("aid_staff_office_tel  not like ", value, "aid_staff_office_tel", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelRightLike(String value) {
            addCriterion("aid_staff_office_tel like ", value, "aid_staff_office_tel", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelNotRightLike(String value) {
            addCriterion("aid_staff_office_tel  not like ", value, "aid_staff_office_tel", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelIn(List<String> values) {
            addCriterion("aid_staff_office_tel  in ", values, "aid_staff_office_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelNotIn(List<String> values) {
            addCriterion("aid_staff_office_tel not in ", values, "aid_staff_office_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelBetween(String value1, String value2) {
            addCriterion("aid_staff_office_tel between ", value1, value2, "aid_staff_office_tel");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffOfficeTelNotBetween(String value1, String value2) {
            addCriterion("aid_staff_office_tel not between ", value1, value2, "aid_staff_office_tel");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andLastVisitedDateIsNull() {
            addCriterion("last_visited_date is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateIsNotNull() {
            addCriterion("last_visited_date is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateEqualTo(Date value) {
            addCriterion("last_visited_date =", value, "last_visited_date");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateNotEqualTo(Date value) {
            addCriterion("last_visited_date <>", value, "last_visited_date");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateGreaterThan(Date value) {
            addCriterion("last_visited_date >", value, "last_visited_date");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateGreaterThanOrEqualTo(Date value) {
            addCriterion("last_visited_date >=", value, "last_visited_date");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateLessThan(Date value) {
            addCriterion("last_visited_date <", value, "last_visited_date");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateLessThanOrEqualTo(Date value) {
            addCriterion("last_visited_date <=", value, "last_visited_date");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateLike(Date value) {
            addCriterion("last_visited_date like ", value, "last_visited_date", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateNotLike(Date value) {
            addCriterion("last_visited_date  not like ", value, "last_visited_date", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateLeftLike(Date value) {
            addCriterion("last_visited_date like ", value, "last_visited_date", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateNotLeftLike(Date value) {
            addCriterion("last_visited_date  not like ", value, "last_visited_date", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateRightLike(Date value) {
            addCriterion("last_visited_date like ", value, "last_visited_date", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateNotRightLike(Date value) {
            addCriterion("last_visited_date  not like ", value, "last_visited_date", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateIn(List<Date> values) {
            addCriterion("last_visited_date  in ", values, "last_visited_date");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateNotIn(List<Date> values) {
            addCriterion("last_visited_date not in ", values, "last_visited_date");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateBetween(Date value1, Date value2) {
            addCriterion("last_visited_date between ", value1, value2, "last_visited_date");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andLastVisitedDateNotBetween(Date value1, Date value2) {
            addCriterion("last_visited_date not between ", value1, value2, "last_visited_date");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andPovertyStateDateIsNull() {
            addCriterion("POVERTY_STATE_DATE is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateIsNotNull() {
            addCriterion("POVERTY_STATE_DATE is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateEqualTo(Date value) {
            addCriterion("POVERTY_STATE_DATE =", value, "POVERTY_STATE_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateNotEqualTo(Date value) {
            addCriterion("POVERTY_STATE_DATE <>", value, "POVERTY_STATE_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateGreaterThan(Date value) {
            addCriterion("POVERTY_STATE_DATE >", value, "POVERTY_STATE_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("POVERTY_STATE_DATE >=", value, "POVERTY_STATE_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateLessThan(Date value) {
            addCriterion("POVERTY_STATE_DATE <", value, "POVERTY_STATE_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateLessThanOrEqualTo(Date value) {
            addCriterion("POVERTY_STATE_DATE <=", value, "POVERTY_STATE_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateLike(Date value) {
            addCriterion("POVERTY_STATE_DATE like ", value, "POVERTY_STATE_DATE", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateNotLike(Date value) {
            addCriterion("POVERTY_STATE_DATE  not like ", value, "POVERTY_STATE_DATE", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateLeftLike(Date value) {
            addCriterion("POVERTY_STATE_DATE like ", value, "POVERTY_STATE_DATE", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateNotLeftLike(Date value) {
            addCriterion("POVERTY_STATE_DATE  not like ", value, "POVERTY_STATE_DATE", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateRightLike(Date value) {
            addCriterion("POVERTY_STATE_DATE like ", value, "POVERTY_STATE_DATE", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateNotRightLike(Date value) {
            addCriterion("POVERTY_STATE_DATE  not like ", value, "POVERTY_STATE_DATE", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateIn(List<Date> values) {
            addCriterion("POVERTY_STATE_DATE  in ", values, "POVERTY_STATE_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateNotIn(List<Date> values) {
            addCriterion("POVERTY_STATE_DATE not in ", values, "POVERTY_STATE_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateBetween(Date value1, Date value2) {
            addCriterion("POVERTY_STATE_DATE between ", value1, value2, "POVERTY_STATE_DATE");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andPovertyStateDateNotBetween(Date value1, Date value2) {
            addCriterion("POVERTY_STATE_DATE not between ", value1, value2, "POVERTY_STATE_DATE");
            return (CodeFamilyInfoCriteria) this;
        }
        public CodeFamilyInfoCriteria andAidStaffDepartmentIsNull() {
            addCriterion("aid_staff_department is null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentIsNotNull() {
            addCriterion("aid_staff_department is not null");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentEqualTo(String value) {
            addCriterion("aid_staff_department =", value, "aid_staff_department");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentNotEqualTo(String value) {
            addCriterion("aid_staff_department <>", value, "aid_staff_department");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentGreaterThan(String value) {
            addCriterion("aid_staff_department >", value, "aid_staff_department");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("aid_staff_department >=", value, "aid_staff_department");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentLessThan(String value) {
            addCriterion("aid_staff_department <", value, "aid_staff_department");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentLessThanOrEqualTo(String value) {
            addCriterion("aid_staff_department <=", value, "aid_staff_department");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentLike(String value) {
            addCriterion("aid_staff_department like ", value, "aid_staff_department", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentNotLike(String value) {
            addCriterion("aid_staff_department  not like ", value, "aid_staff_department", 1);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentLeftLike(String value) {
            addCriterion("aid_staff_department like ", value, "aid_staff_department", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentNotLeftLike(String value) {
            addCriterion("aid_staff_department  not like ", value, "aid_staff_department", 0);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentRightLike(String value) {
            addCriterion("aid_staff_department like ", value, "aid_staff_department", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentNotRightLike(String value) {
            addCriterion("aid_staff_department  not like ", value, "aid_staff_department", 2);
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentIn(List<String> values) {
            addCriterion("aid_staff_department  in ", values, "aid_staff_department");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentNotIn(List<String> values) {
            addCriterion("aid_staff_department not in ", values, "aid_staff_department");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentBetween(String value1, String value2) {
            addCriterion("aid_staff_department between ", value1, value2, "aid_staff_department");
            return (CodeFamilyInfoCriteria) this;
        }

        public CodeFamilyInfoCriteria andAidStaffDepartmentNotBetween(String value1, String value2) {
            addCriterion("aid_staff_department not between ", value1, value2, "aid_staff_department");
            return (CodeFamilyInfoCriteria) this;
        }

    }

    public static class CodeFamilyInfoCriteria extends GeneratedCriteria {

        protected CodeFamilyInfoCriteria() {
            super();
        }
    }

    public static class CodeFamilyInfoCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected CodeFamilyInfoCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected CodeFamilyInfoCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected CodeFamilyInfoCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected CodeFamilyInfoCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected CodeFamilyInfoCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected CodeFamilyInfoCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}